package com.firefightingiot.firefightingiot.model.statistics;

import com.baomidou.mybatisplus.annotation.TableName;
import com.firefightingiot.firefightingiot.common.base.BasisEntity;

import java.util.Date;

/**
 * @Author: YangYu
 * @ClassName: DeviceNormalLogElectricEnergy
 * @Date: Created in 15:19 2023/3/29
 * @Description: 电能数据
 */
@TableName("device_normal_log_electric_energy")
public class DeviceNormalLogElectricEnergy extends BasisEntity {

    /**
     * 设备编号
     */

    public String number;

    /**
     * 时间
     */
    public Date dateTime;

    /**
     * 单位ID
     */
    public String businessId;

    /**
     * 单位名称
     */
    public String businessName;

    /**
     * 电能数据
     */
    public Double activeElectric;

    public String getNumber() {
        return this.getString("number");
    }

    public void setNumber(String number) {
        this.put("number",number);
    }

    public Date getDateTime() {
        return this.getDate("dateTime");
    }

    public void setDateTime(Date dateTime) {
        this.put("dateTime",dateTime);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public String getBusinessName() {
        return this.getString("businessName");
    }

    public void setBusinessName(String businessName) {
        this.put("businessName",businessName);
    }

    public Double getActiveElectric() {
        return this.getDouble("activeElectric");
    }

    public void setActiveElectric(Double activeElectric) {
        this.put("activeElectric",activeElectric);
    }
}
